package com.qr.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Controller
 */
@Controller
public class ControllerDemo {

    @RequestMapping("/hello")
    public String sayHello(){
        System.out.println("控制器");
        return "success";
    }

}
